/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.softtown.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 系统单据附件
 *
 * @author Ding Ya Yong
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("comp_com_doc_att")
public class CompComDocAttEntity extends BaseEntity {

	/**
	 * 主键
	 * id
	 * isNullAble:0
	 */
	private Long id;

	/**
	 * 公司id
	 * isNullAble:0
	 */
	private Long compId;

	/**
	 * 单据类型（数据字典中 字典类型=doc_type)
	 * isNullAble:0
	 */
	private String docTypeValue;

	/**
	 * 单据id
	 * isNullAble:0
	 */
	private Long docId;

	/**
	 * 文件名(含扩展名)
	 * isNullAble:0
	 */
	private String attName;

	/**
	 * 存储地址
	 * isNullAble:0
	 */
	private String attUrl;

	/**
	 * 章节名称
	 * isNullAble:1
	 */
	private String sctnName;

	/**
	 * sctn_line_No
	 * isNullAble:1
	 */
	private Integer sctnLineNo;

	/**
	 * 创建者
	 * isNullAble:1
	 */
	private Long creator;

	/**
	 * 创建时间
	 * isNullAble:1
	 */
	private Date createDate;

	/**
	 * 更新者
	 * isNullAble:1
	 */
	private Long updater;

	/**
	 * 更新时间
	 * isNullAble:1
	 */
	private Date updateDate;

	/**
	 * 更新时间戳
	 * isNullAble:1
	 */
	private String updateTimestamp;

	/**
	 * 逻辑删除
	 * isNullAble:1,defaultVal:0
	 */
	private Integer isDeleted;
}